package org.jeecg.modules.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.generator.entity.SysGenerateTabColumn;
import org.jeecg.modules.generator.entity.SysGenerateFieldInfoEntity;

import java.util.List;
import java.util.Map;

public interface SysGenerateTabColumnService extends IService<SysGenerateTabColumn> {

    /**
     * 获取表的配置信息
     * @param id
     * @return
     */
    List<SysGenerateFieldInfoEntity> getColumnFileById(String id, String fieldName);

    List<Map<String,Object>> queryByFieldItemInfoByTbableId(String tableId);

    List<SysGenerateTabColumn> queryByColumnInfoByTbable(String tableId);

     void columnSave(Map<String,String> dataMap);
}
